package cn.com.hp.feature.service;

import cn.com.hp.feature.domain.dto.CommunityAndMenuParamDTO;
import cn.com.hp.feature.domain.dto.CommunityInfoDTO;
import cn.com.hp.feature.domain.dto.MenuInfoDTO;
import cn.com.hp.feature.domain.entity.CommunityInfo;
import cn.com.hp.feature.domain.entity.MenuInfo;
import cn.com.hp.feature.domain.vo.CommunityMenuVO;
import cn.com.hp.feature.domain.vo.PageVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author: hjz
 * @since: 2022/8/29
 * @description:
 */
public interface ICommunityInfoService extends IService<CommunityInfo> {
    List<CommunityInfo> selectCommunityList(CommunityInfo menuInfo);

    PageVO<CommunityInfo> selectCommunityPageByRequest(CommunityInfoDTO menuInfo);

    /**
     * 条件查询社区菜单
     * @param param
     * @return
     */
    List<CommunityMenuVO> communityAndMenulist(CommunityAndMenuParamDTO param);

    PageVO<CommunityMenuVO> selectCommunityAndMenuPage(CommunityAndMenuParamDTO param);


}
